package org.cug.service;

import org.cug.pojo.Category;

import java.util.List;

/**
 * @Author: gongshihao
 * @Date: 2024-05-15-11:04
 * @Description: this is my code
 */

public interface CategoryService {
    //新增分类
    void add(Category category);
    //查询多个文章
    List<Category> lists();
    //根据用户id查询分类信息
    Category findById(Integer id);
    //更新文章分类
    void update(Category category);
}
